/**
 * Project Name:dsrs-systemservice-domain
 * File Name:DatadictVo.java
 * Package Name:com.bwda.dsrs.systemservice.domain.vo.datadict;
 * Date:2019年4月28日
 * Copyright (c) 2019, 江苏保旺达软件有限公司 All Rights Reserved.
 */
package com.bwda.dsrs.systemservice.domain.vo.datadict;

import java.util.Date;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * 数据字典
 *
 * @author liangjianyong
 * @date 2019/4/8
 */
@Data
@ApiModel(description = "数据字典")
public class DatadictVo {

	@ApiModelProperty(value = "字典ID", required = true)
	private Integer id;

	@ApiModelProperty(value = "字典CODE")
	private String dataDictCode;

	@ApiModelProperty(value = "数据字典类别")
	private String dataDictTypeCode;

	@ApiModelProperty(value = "数据字典类别名称")
	private String dataDictTypeName;

	@ApiModelProperty(value = "字典名称")
	private String dataDictName;

	@ApiModelProperty(value = "是否重启生效 0:否 1:是")
	private Integer restartEffect;

	@ApiModelProperty(value = "字典值")
	private String dataDictValue;

	@ApiModelProperty(value = "备注")
	private String remark;

	@ApiModelProperty(value = "排序")
	private Integer orderNum;

	@ApiModelProperty(value = "0正常1禁用")
	private Integer status;

	@ApiModelProperty(value = "创建时间")
	private Date createTime;

	@ApiModelProperty(value = "0未删除1已删除")
	private Integer delFlag;

	@ApiModelProperty(value = "是否内置 0:内置 1：自定义")
	private Integer isDefault;

	public Date getCreateTime() {
		if (createTime != null){
			return (Date) createTime.clone();
		}

		return null;
	}

	public void setCreateTime(Date createTime) {
		if (createTime != null){
			this.createTime = (Date) createTime.clone();
		}
	}
}